package com.github.nuggets.service;

import com.github.nuggets.model.result.PageResult;
import com.github.nuggets.model.vo.NuggetsAccountDetailVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @description: 用户操作相关Service
 * @author: wangsj
 * @date: 2022/3/18 4:08 下午
 */
public interface AccountRelationshipService {

    @Transactional
    Boolean foucAccount(Long accountId,Long foucId);

    @Transactional
    Boolean cancelFoucAccount(Long accountId,Long foucId);

    PageResult<NuggetsAccountDetailVO> foucList(Long accountId, Integer pageIndex, Integer pageSize);

    PageResult<NuggetsAccountDetailVO> fansList(Long accountId, Integer pageIndex, Integer pageSize);
}
